package com.shop.product.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shop.member.vo.MemberVO;
import com.shop.member.vo.MemberVO.MemberItem;
import com.shop.product.dao.ProductImgDAO;

@Service
public class ProductImgServiceImpl implements ProductImgService {

	@Autowired
	private ProductImgDAO dao;
	
	@Override
	public int isUserCnt(MemberVO.MemberItem memberItem) {
		
		return dao.isUserCnt(memberItem);
	}
	
	@Override
	public int addMember(MemberItem memberItem) {
		// TODO Auto-generated method stub
		return dao.addMember(memberItem);
	}

}
